package io.coderyeah.order.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName t_order_adopt
 */
@TableName(value ="t_order_adopt")
@Data
public class OrderAdopt implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 摘要
     */
    private String digest;

    /**
     * 待支付 待确认 完成 取消
     */
    private Integer state;

    /**
     * 
     */
    private Integer price;

    /**
     * 
     */
    private String ordersn;

    /**
     * 
     */
    private String paysn;

    /**
     * 
     */
    private Date lastpaytime;

    /**
     * 
     */
    private Date lastconfirmtime;

    /**
     * 
     */
    private Long petId;

    /**
     * 
     */
    private Long userId;

    /**
     * 
     */
    private Long shopId;

    /**
     * 
     */
    private Integer serviceMethod;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}